package yl.hs.bmipfull.daos.production;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yl.hs.bmipfull.daos.BaseDao;
import yl.hs.bmipfull.pojo.production.ViolationReportEntity;

import java.util.List;
import java.util.Map;

/*
 * IViolationReportDao
 * @category
 * @author 谢景广
 * @date 2023-03-23
 */
@Repository
public interface IViolationReportDao extends BaseDao<ViolationReportEntity> {

    Integer queryRecords(@Param("map") Map<String, Object> query, List<Map<String, Object>> filters);

    List<ViolationReportEntity> queryPage(@Param("map")Map<String, Object> query, List<Map<String, Object>> filters);
}
